package com.stylefeng.guns.modular.system.service.impl;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.stylefeng.guns.common.persistence.dao.TOrderMapper;
import com.stylefeng.guns.common.persistence.model.TOtherFee;
import com.stylefeng.guns.common.persistence.dao.TOtherFeeMapper;
import com.stylefeng.guns.modular.system.service.ITOtherFeeService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-10-14
 */
@Service
public class TOtherFeeServiceImpl extends ServiceImpl<TOtherFeeMapper, TOtherFee> implements ITOtherFeeService {

    @Autowired
    TOtherFeeMapper otherFeeMapper;
    @Override
    public List<Map<String, Object>> selectList(Pagination page, Map param) {
        return otherFeeMapper.selectList(page,param);
    }

    @Override
    public List<Map<String, Object>> selectAvg(Map param) {
        return otherFeeMapper.selectAvg(param);
    }

    @Override
    public List<Map<String, Object>> selectType() {
        return otherFeeMapper.selectType();
    }
}
